package ru.ifmo.ctddev.krotkov.taskrunner;


public class Client implements Runnable {
	TaskRunner tr;
	int num;
	
	@Override
	public void run() {
		int t = 0;
		while (t < 10) {
			System.err.println(tr.run(new TaskImpl(), num * 100 + t));
			t++;
		}
		
	}

	Client(TaskRunner tr, int num) {
		this.tr = tr;
		this.num = num;
	}

}
